<template>
<div class="top">

    <el-row :gutter="20">
        <el-col :span="6"><div class="grid-content bg-purple">
            <lef @shouqi='qianhuan'></lef>
            </div></el-col>
        <el-col :span="6" :offset="6"><div class="grid-content bg-purple">
            <rig></rig>
            </div></el-col>
    </el-row>
</div>
</template>

<script>
import lef from './lef.vue';
import rig from './rig.vue';
export default {
   components:{ lef ,rig },
   methods:{
     qianhuan(){
       this.$emit('qianhuan');
     }
   }
};


</script>

<style lang="scss" scoped>
  .top{
    background: rgb(81, 115, 228);
  }
  .el-row {
    margin-bottom: 20px;
    margin: 0px !important;
    &:last-child {
      margin-bottom: 0;
    }
  }
  .el-col {
    border-radius: 4px;
  }
  .bg-purple-dark {
    background: #99a9bf;
  }
  .bg-purple {
    color: #fff;
    line-height: 0;
  }
  .bg-purple-light {
    background: #e5e9f2;
  }
  .grid-content {
    border-radius: 4px;
    // min-height: 36px;
  }
  .row-bg {
    padding: 10px 0;
    background-color: #f9fafc;
  }
</style>